package com.joshluisaac.zz_oop;

public class MountainBicycle extends Bicycle implements IBicycle {
	
	byte p = -127;

	public void changeCadence(int newValue) {
		this.cadence = newValue;
	}

	public void changeGear(int newValue) {
		this.gear = newValue;
	}

	public void changeSpeed(int increment) {
		this.speed = speed + increment;
	}

	public void applyBrakes(int decrement) {
		this.speed = speed - decrement;

	}


}
